home *** CD-ROM | disk | FTP | other *** search
/ PC Player 2004 May / pc player 2004-05.iso / Demos / FarCry / Data1.cab / _475E8D4F44454E6E8F7592ED205AEBD8 < prev    next >
Encoding:
Text File  |  2004-01-06  |  3.0 KB  |  107 lines

  1. ----#Script:ReloadScript("scripts/materials/mat_pebble.lua")
  2. Script:LoadScript("scripts/materials/commoneffects.lua");
  3.      
  4. Materials["mat_pebble"] = {
  5.     type="pebble",
  6. -------------------------------------
  7.     PhysicsSounds=PhysicsSoundsTable.Hard,
  8. -------------------------------------    
  9.     bullet_drop_single = CommonEffects.common_bullet_drop_single_ashphalt,
  10.     bullet_drop_rapid = CommonEffects.common_bullet_drop_rapid_ashphalt,
  11. -------------------------------------    
  12.  
  13. -- primary explosion from rocket
  14.  
  15.     projectile_hit = CommonEffects.common_projectile_hit,
  16.     mortar_hit = CommonEffects.common_mortar_hit,
  17.     smokegrenade_hit = CommonEffects.common_smokegrenade_hit,
  18.     flashgrenade_hit = CommonEffects.common_flashgrenade_hit,
  19.     grenade_hit = CommonEffects.common_grenade_hit,
  20.  
  21.     bullet_hit = {
  22.         sounds = {
  23.             {"Sounds/bullethits/bgravel1.wav",SOUND_UNSCALABLE,200,5,60},
  24.             {"Sounds/bullethits/bgravel2.wav",SOUND_UNSCALABLE,200,5,60},
  25.             {"Sounds/bullethits/bgravel3.wav",SOUND_UNSCALABLE,200,5,60},
  26.             {"Sounds/bullethits/bgravel4.wav",SOUND_UNSCALABLE,200,5,60},
  27.             
  28.             
  29.             
  30.         },
  31.         
  32.         decal = { 
  33.             texture = System:LoadTexture("Textures/Decal/ground.dds"),
  34.             scale = 0.035,
  35.         },
  36.         
  37.                 particleEffects = {
  38.             name = "bullet.hit_ground.a",
  39.         },
  40.     },
  41.  
  42.     pancor_bullet_hit = {
  43.         sounds = {
  44.             {"Sounds/bullethits/bgravel1.wav",SOUND_UNSCALABLE,200,5,60},
  45.             {"Sounds/bullethits/bgravel2.wav",SOUND_UNSCALABLE,200,5,60},
  46.             {"Sounds/bullethits/bgravel3.wav",SOUND_UNSCALABLE,200,5,60},
  47.             {"Sounds/bullethits/bgravel4.wav",SOUND_UNSCALABLE,200,5,60},
  48.             
  49.             
  50.             
  51.         },
  52.         
  53.         decal = { 
  54.             texture = System:LoadTexture("Textures/Decal/ground.dds"),
  55.             scale = 0.035,
  56.         },
  57.         
  58.                 particleEffects = {
  59.             name = "bullet.hit_ground_pancor.a",
  60.         },
  61.     },
  62.  
  63.         
  64. -------------------------------------
  65.     player_walk = CommonEffects.player_pebble_walk,
  66.     player_run = CommonEffects.player_pebble_run,
  67.     player_crouch = CommonEffects.player_pebble_crouch,
  68.     player_prone = CommonEffects.player_pebble_prone,
  69.     player_walk_inwater = CommonEffects.player_walk_inwater,
  70.     
  71.     player_drop = {
  72.         sounds = {
  73.             {"sounds/player/bodyfalls/bodyfallgravel1.wav",SOUND_UNSCALABLE,210,10,150},
  74.             {"sounds/player/bodyfalls/bodyfallgravel2.wav",SOUND_UNSCALABLE,210,10,150},
  75.             {"sounds/player/bodyfalls/bodyfallgravel3.wav",SOUND_UNSCALABLE,210,10,150},
  76.         },
  77. --        decal = { 
  78. --            texture = System:LoadTexture("Textures/Decal/Default.tga"),
  79. --            scale = 0.1,
  80. --        },
  81.     },
  82.     melee_slash = {
  83.         sounds = {
  84.             {"sounds/weapons/machete/machetesand4.wav",SOUND_UNSCALABLE,185,5,30},
  85.             
  86.         },
  87.     },
  88. -------------------------------------
  89.     player_land = {
  90.         sounds = {
  91.             --sound , volume , {min, max}
  92.             --NOTE volume and min max are optional
  93.              {"sounds/doors/dooropen.wav"},
  94.              {"sounds/doors/dooropen.wav"},
  95.             
  96.         },
  97.     },
  98.     gameplay_physic = {
  99.         piercing_resistence = 15,
  100.         friction = 0.6,
  101.         bouncyness= 0.2, --default 0
  102.     },
  103.     ---------------------------------------------
  104.     AI = {
  105.         fImpactRadius = 5,
  106.     },    
  107. }